package de.koller.worlders.engine.entity.mo.phsics;

import de.koller.oceanFramework.math.Vec;

public class IntersectionEntity implements Comparable<IntersectionEntity> {
	public double a;
	public Vec is;
	public boolean nully = false;

	@Override
	public int compareTo( IntersectionEntity o ) {
		if( nully ) {
			return Integer.MAX_VALUE;
		}
		if( o.nully ) {
			return Integer.MIN_VALUE;
		}
		return Double.compare( a, o.a );
	}
	
}
